<?php

namespace App\Http\Controllers\Mobile;


use App\Logics\AccountLogic;

class HomeController extends BaseController
{
    // 一般操作
    public function initialize()
    {
        parent::initialize();
    }

    // token
    public function token()
    {
        $logic  = new AccountLogic();
        $result = $logic->token();
        if($result === false){
            return $this->error($logic->getError());
        }

        return $this->success($result);
    }

    // 首页
    public function index()
    {

    }
}


